﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using LuxDiner.Model.Members;
using LuxDiner.Command.Members;
namespace LuxDiner.Logic.Members
{
    public class CustomerCategoryLogic
    {
        public static CustomerCategoryModel CreateNew(CustomerCategoryModel model)
        {
            return CustomerCategoryCommand.CreateNew(model);
        }

        public static void Update(CustomerCategoryModel model)
        {
            CustomerCategoryCommand.Update(model);
        }


        public static CustomerCategoryModel GetModel(int id)
        {
            return CustomerCategoryCommand.GetModel(id);
        }

        public static CustomerCategoryCollection GetCategories(CustomerCategoryQuery sea)
        {
            return CustomerCategoryCommand.GetCategories(sea);
        }

        public static void Delete(int id)
        {
            CustomerCategoryCommand.Delete(id);
        }
    }
}
